//
//  WSButton.m
//  WisdomStar
//
//  Created by 谭飞 on 2018/10/22.
//  Copyright © 2018年 zhangliwen. All rights reserved.
//

#import "WSButton.h"

@implementation WSButton

- (void)setHighlighted:(BOOL)highlighted {
    
}


- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    if (self = [super initWithCoder:aDecoder]) {
        [self setup];
    }
    return self;
}

- (void)setup {
    [self setGradientBackgroundWithColors:@[COLOR_HEX(0x22e5cb), COLOR_HEX(0x02caaf)] locations:nil startPoint:CGPointMake(0, 0) endPoint:CGPointMake(0, 1)];
}

@end
